package cn.befory.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 采购明细
 * @author befory
 * @since 2019-10-7
 */
public class ProcurementApplyDetail implements Serializable {
    private static final long serialVersionUID = 361727693517203582L;

    private Long id;
    /**
     * 编码
     */
    private String code;
    /**
     * 产品id
     */
    private Long productId;
    /**
     * 采购id
     */
    private Long procurementApplyId;
    /**
     * 状态(0:审核中;1允许采购;2不采购;3完成)
     */
    private Integer status;
    /**
     * 采购数量
     */
    private BigDecimal num;

    public Long getId() {
        return id;
    }

    public ProcurementApplyDetail setId(Long id) {
        this.id = id;
        return this;
    }

    public String getCode() {
        return code;
    }

    public ProcurementApplyDetail setCode(String code) {
        this.code = code;
        return this;
    }

    public Long getProductId() {
        return productId;
    }

    public ProcurementApplyDetail setProductId(Long productId) {
        this.productId = productId;
        return this;
    }

    public Long getProcurementApplyId() {
        return procurementApplyId;
    }

    public ProcurementApplyDetail setProcurementApplyId(Long procurementApplyId) {
        this.procurementApplyId = procurementApplyId;
        return this;
    }

    public Integer getStatus() {
        return status;
    }

    public ProcurementApplyDetail setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public BigDecimal getNum() {
        return num;
    }

    public ProcurementApplyDetail setNum(BigDecimal num) {
        this.num = num;
        return this;
    }
}
